package com.ck.ips.model.vo.sys;

import com.fasterxml.jackson.annotation.JsonInclude;

import javax.validation.constraints.NotNull;

/**
 * 品牌视图实体类
 *
 * @author XC17125
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BrandVO {
    /**
     * BIGINT NOT NULL AUTO_INCREMENT COMMENT '品牌ID'
     */
    private Long brandId;
    /**
     * VARCHAR(100) DEFAULT NULL COMMENT '品牌名称'
     */
    @NotNull(message = "品牌名不能为空")
    private String brandName;
    /**
     * VARCHAR(40) DEFAULT NULL COMMENT '联系人',
     */
    private String contactPerson;
    /**
     * VARCHAR(50) DEFAULT NULL COMMENT '手机号',
     */
    private String phoneNum;
    /**
     * VARCHAR(100) DEFAULT NULL COMMENT '联系地址'
     */
    private String address;
    /**
     * BIGINT DEFAULT NULL COMMENT '添加时间',
     */
    private Long addTime;
    private String addTimeStr;
    /**
     * BIGINT DEFAULT NULL COMMENT '修改时间',
     */
    private Long updateTime;
    private String updateTimeStr;
    /**
     * 页数
     */
    private Integer pageNum;
    /**
     * 每页显示数
     */
    private Integer pageSize;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "BrandVO{" +
                "brandId=" + brandId +
                ", brandName='" + brandName + '\'' +
                ", contactPerson='" + contactPerson + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", address='" + address + '\'' +
                ", addTime=" + addTime +
                ", updateTime=" + updateTime +
                '}';
    }

    public String getAddTimeStr() {
        return addTimeStr;
    }

    public void setAddTimeStr(String addTimeStr) {
        this.addTimeStr = addTimeStr;
    }

    public String getUpdateTimeStr() {
        return updateTimeStr;
    }

    public void setUpdateTimeStr(String updateTimeStr) {
        this.updateTimeStr = updateTimeStr;
    }
}
